<%@ page language="java" contentType="text/html; charset=UTF-8" import="java.util.*"
         pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%--<link rel="stylesheet" href="/static/css/com.sanhuo.idms.css"/>--%>
<%--<script type="text/javascript" src="/static/js/com.sanhuo.idms.js"></script>--%>
<script type="text/javascript" src="/static/js/admin/studentList.js"></script>
<script type="text/javascript">
    // window.onload=function () {
    //     addData_studentList();
    // }

</script>
<div class="list notSelect" style="background-color: #ffffff;max-height:800px;height:800px">
    <div class="list-title">
        <span>&#60;/&#62;&nbsp;学院与班级数据</span>
    </div>
    <div class="search" style="border-bottom:solid #66a9c9;width:97%;margin-left:15px;">
        <%--<div class="highSearch" id="studentHighSearch">高级搜索</div>--%>
        <%--<div class="keyword">--%>
        <%--<input type="text" placeholder="请输入学院名搜索关键字">--%>
        <%--<i class="iconfont icon-sousuo" id="student_name_keyword"></i>--%>
        <%--</div>--%>
    </div>

    <div class="list-content">
        <div class="button-box" style="height:40px;position: relative;margin-top:10px;margin-left:30px;">
            <button id="saveCollege" style="position: absolute;left: 7px;width: 80px;height: 40px">新增院级</button>
            <button id="saveClas" style="position: absolute;left: 107px;width: 80px;height: 40px">新增班级</button>
            <div id="whatCollege"
                 style="  width: 280px;height:50px; position: absolute; right: 80px;top: 10px;color:#606266">
                当前学院:
                <span style="    display: block; width: 180px;border: solid 1px #e9d7dfc2;
                         float: right;margin-top: -2px;height: 25px;margin-right: 5px;text-align: center;
                            line-height: 25px;border-radius: 5px;color: #909399;"></span>
            </div>
        </div>

        <div class="list-box gz-5" style="float:left;margin-left:35px;height:550px;">

            <table id="collegeListTable">
                <thead style="position: sticky;top:0px">
                <tr class="list-th">
                    <th>序号</th>
                    <th>学院名</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody style="position: absolute;overflow-y: auto;height:500px;">
                <tr>
                </tr>
                </tbody>
            </table>

        </div>
        <div id="clasTableDiv" class="list-box gz-5" style="float:right;margin-right:35px;height:550px;">
            <table id="clasTable">
                <thead style="position: sticky;top:0px">
                <tr class="list-th">
                    <th>年级</th>
                    <th>班级</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody style="position: absolute;overflow-y: auto;height:500px;">
                </tbody>
            </table>
        </div>
    </div>
</div>
<script type="text/javascript" src="/static/js/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="/static/js/sweetalert.min.js"></script>
<script type="text/javascript" src="/static/js/admin/collegeList.js"></script>

<script type="text/javascript">
    add_collegeList(function () {
        tableChange("#collegeListTable")
    }, "");
    $(window).resize(function () {
        tableChange("#collegeListTable");
        tableChange("#clasTable");
    });
</script>